package com.product.system.service.impl;

import com.product.system.domain.FactoryUser;
import com.product.system.mapper.FactoryUserMapper;
import com.product.system.service.FactoryUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FactoryUserServiceImpl implements FactoryUserService {

    @Autowired
    FactoryUserMapper factoryUserMapper;

    @Override
    public FactoryUser selectGitName(String name) {
        return factoryUserMapper.selectGitName(name);
    }

    @Override
    public void addFactoryUser(FactoryUser factoryUser) {
        factoryUserMapper.addFactoryUser(factoryUser);
    }

    @Override
    public void updateFactoryUser(FactoryUser userDB) {
        factoryUserMapper.updateFactoryUser(userDB);
    }


}
